package com.cykj.admin.controller;

import com.cykj.admin.service.ILogService;
import com.cykj.admin.vo.LogVO;
import com.cykj.common.dto.ResponseDTO;
import io.swagger.v3.oas.annotations.Operation;
import io.swagger.v3.oas.annotations.tags.Tag;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @BelongsProject: smart_recruit_backend
 * @BelongsPackage: com.cykj.admin.controller
 * @Author: 小小卢
 * @CreateTime: 2025-08-22 01:09
 * @Description: TODO
 * @Version: 1.0
 */
@Tag(name = "LogController",description = "平台端日志管理的接口")
@RestController
@RequestMapping("log")
public class LogController {

    @Autowired
    private ILogService logService;

    /**
    * @Description: 查询日志
    * @Param: [logVO]
    * @return: com.cykj.common.dto.ResponseDTO
    */
    @Operation(summary = "平台端日志查询接口")
    @GetMapping("get")
    public ResponseDTO getLogList(LogVO logVO){
        return logService.getLogList(logVO);
    }


}